import { request } from '@pkg/request/src';

export enum Api {
  page = '/coupon2/page',
  list = '/coupon2/list',
  get = '/coupon2/get',
  batchSave = '/coupon2/batchSave',
  update = '/coupon2/update',
  remove = '/coupon2/remove',
}

export const batchSave = (couponId:any,shopIds: any) =>{
  return request.post({
    url: Api.batchSave,
    params: { couponId: couponId,shopIds:shopIds},
  });
}
